package com.example.hello.mapper;

import com.example.hello.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.hello.po.UserPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2022-07-22
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<UserPo> listUserPos();

    UserPo getUserByName(@Param("userName") String userName);

    String getPasswordByName(@Param("userName") String userName);
}
